package com.lemon.reggie.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class SubmitOrderDTO implements Serializable {
    private static final long serialVersionUID = -7009799269922902279L;

    @ApiModelProperty(value = "地址id")
    @NotNull(message = "地址id不能为空！")
    private Long addressBookId;

    @ApiModelProperty(value = "支付方式 1微信,2支付宝")
    @NotNull(message = "支付方式不能为空！")
    private Integer payMethod;

    @ApiModelProperty(value = "备注")
    private String remark;
}
